package com.csu.letaobackend.serviceM;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.csu.letaobackend.bean.Coupon;
import com.csu.letaobackend.bean.Shopcoupon;
import com.csu.letaobackend.commom.CommonResponse;
import com.csu.letaobackend.vo.CouponVO;
import com.csu.letaobackend.vo.OrderVO;
import com.csu.letaobackend.vo.ShopcouponVO;

import java.util.List;

public interface CouponMService {
      CommonResponse<IPage<ShopcouponVO>> getAllShopcoupons(int pageid, int pagesize);

      CommonResponse<IPage<ShopcouponVO>> searchShopcoupons(double fullminus, String shopname, int pageid, int pagesize);

      CommonResponse addShopcoupon(Shopcoupon Shopcoupon);

      CommonResponse deleteShopcoupon(int couponid);

      CommonResponse updateShopcoupon(Shopcoupon coupon);

}
